package com.feicheng.iou.mapper;

import com.feicheng.iou.entity.Baoming;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feicheng.iou.pojo.*;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDateTime;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface BaomingMapper extends BaseMapper<Baoming> {


    /**
     * @param autorId
     * @return Integer
     * @Author wuweinan
     * @Description 查询出对应用户的报名总条数
     * @Date 2021-8-9 17:19
     */

    Integer statisticsBaomingCount(@Param("searchStartTime") LocalDateTime searchStartTime,
                                   @Param("searchEndTime") LocalDateTime searchEndTime,
                                   @Param("autorId") Integer autorId);

    List<ResultBaomingPOJO> queryBaomingAll(BaomingPOJO baomingPOJO);

    Integer queryBaomingAllCount(BaomingPOJO baomingPOJO);

    void deleteBaoming();
}
